#include <stdio.h>
#include <stdlib.h>

int main () { 
   char str[50] = "2024.05 tutorialspoint";
   char *ptr;
   double res;
   
   // convert into floating point number
   res = strtod(str, &ptr);
   
   //display the numeric part
   printf("Double value: %f\n", res);
   //display the string after number
   printf("String after number: %s", ptr);
   
   return(0);
}